projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91239a5
)
(w32_initialize): Add necessary casts to last change.
author
Jason Rumney
<jasonr@gnu.org>
Sun, 21 Jun 2009 13:16:21 +0000
(13:16 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Sun, 21 Jun 2009 13:16:21 +0000
(13:16 +0000)
src/w32term.c
patch
|
blob
|
history
diff --git
a/src/w32term.c
b/src/w32term.c
index b24da6cad5eb90f85b1bb9e9d070a964d1ac9b07..f96a60d777f856f36fdaee41f57773059c713254 100644
(file)
--- a/
src/w32term.c
+++ b/
src/w32term.c
@@
-6361,8
+6361,8
@@
w32_initialize ()
Fset_input_mode (Qnil, Qnil, make_number (2), Qnil);
{
-
HKL input_locale_id =
GetKeyboardLayout (0);
- keyboard_codepage = codepage_for_locale (
input_locale_id & 0xffff
);
+
DWORD input_locale_id = (DWORD)
GetKeyboardLayout (0);
+ keyboard_codepage = codepage_for_locale (
(LCID) (input_locale_id & 0xffff)
);
}
/* Create the window thread - it will terminate itself when the app